﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using ArkEC.SEMs.BizObject.UM;

namespace ArkEC.SEMs.DataAccess.UM
{
    /// <summary>
    /// 用户数据库操作接口
    /// </summary>
    public interface IUserDA
    {
        /// <summary>
        /// 通过邮箱和密码获取用户数据
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="tran"></param>
        /// <param name="email"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        User QueryUser(DbConnection conn, DbTransaction tran, string email, string pwd);
    }
}
